<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="icon" href="{:config('web.cdn')}/favicon.ico">
    <title>{:config('web.web_title')}</title>
    <meta name="keywords" content="{:config('web.web_keywords')}">
    <meta name="description" content="{:config('web.web_description')}">
    {include file="public:head" /}
    <link rel="stylesheet" type="text/css" href="{:config('web.cdn')}/static/css/micuer_toutiao.css">
    <style>
        .header {
            display: none !important;
        }
    </style>
</head>
<body>
{include file="public:header_nav" /}
<div class="micuer_header">
    <div class="layui-container">
        <div class="layui-row">
            <div class="layui-col-xs12 layui-col-sm2 layui-col-md1">
                <div class="micuer_logo">
                    <a href="/">
                        米醋儿
                    </a>
                </div>
            </div>
            <div class="layui-hide-xs layui-col-sm8 layui-col-md9">
                &nbsp;
            </div>
            <div class="layui-col-xs12 layui-col-sm2 layui-col-md2 micuer_header_box">
                <a href="">
                    <img class="micuer_header_head"
                         src="http://p1-dy.bytexservice.com/large/pgc-image/75ca97deef6e431994e6069dd4317b68" alt="">
                    <span class="micuer_header_span">米醋儿创始人</span>
                    <i class="layui-icon layui-icon-triangle-d"></i>
                </a>

                <ul class="micuer_header_ul">
                    <li>
                        <a href="">
                            <i class="layui-icon layui-icon-set-fill"></i>
                            设置
                        </a>
                    </li>
                    <li>
                        <a href="">
                            <i class="layui-icon layui-icon-log"></i>
                            退出
                        </a>
                    </li>
                </ul>
            </div>
        </div>
    </div>

</div>

<div class="micuer_main">
    <div class="layui-container">
        <div class="layui-row micuer_main_banner_bg">
            <div class="layui-hide-xs layui-col-sm2  layui-col-md2">
                &nbsp;
            </div>
            <div class="layui-col-xs12 layui-col-sm8 layui-col-md8 micuer_banner_content">
                <div class="layui-row">
                    <div class="layui-col-xs2">
                        <img class="micuer_wapper"
                             src="{:config('web.cdn')}/static/images/loading.gif"
                             data-original="{:img_thumber($res.prefimg,150,150)}"
                        >
                    </div>
                    <div class="layui-col-xs10">
                        <h1 class="micuer_h1">{$res.title}</h1>
                        <br>
                        <span class="micuer_read_content">
										{$res.hits}阅读
									</span>
                    </div>
                </div>

            </div>
            <div class="layui-hide-xs layui-col-sm2  layui-col-md2">
                &nbsp;
            </div>
        </div>

        <div class="layui-row bgfff">
            <div class="layui-hide-xs layui-col-sm2  layui-col-md2">
                &nbsp;
            </div>
            <div class="layui-col-xs12 layui-col-sm8 layui-col-md8 micuer_banner_content">
                <div class="layui-row">
                    <div class="layui-col-xs12">
                        <h1 class="micuer_h1_head">热门讨论</h1>
                    </div>
                </div>
            </div>
            <div class="layui-hide-xs layui-col-sm2  layui-col-md2">
                &nbsp;
            </div>
        </div>

        {foreach $list as $k=> $v}
        <div class="layui-row bgfff micuer_item">
            <div class="layui-hide-xs layui-col-sm2  layui-col-md2">
                &nbsp;
            </div>
            <div class="layui-col-xs12 layui-col-sm8 layui-col-md8 micuer_banner_content">
                <div class="layui-row">
                    <div class="layui-col-xs1">
                        <a  href="{:request()->domain()}{:url('u/index',['id'=>$v.user.id])}">
                            <img class="micuer_avtor36"
                                 src="{:config('web.cdn')}/static/images/loading.gif"
                                 data-original="{$v.user.headimgurl}"
                            >
                        </a>
                    </div>
                    <div class="layui-col-xs11">
                        <a  href="{:request()->domain()}{:url('u/index',['id'=>$v.user.id])}" class="micuer_nickname">
                            {$v.user.nickname}
                        </a>
                        <br>
                        <span class="micuer_auth_info">
										{$v.add_time}
									</span>
                        <span class="micuer_auth_info">
										<a target="_blank" href="{:url('article/read',array('id'=>$v['id']))}">
                                            {$v.title}
                                        </a>
									</span>
                    </div>
                </div>
                <div class="layui-col-xs12 micuer_article_content">
                    <a target="_blank" href="{:url('article/read',array('id'=>$v['id']))}">
                    {:mb_substr(htmlspecialchars_decode($v.info),0,200)}
                    </a>
                    <hr class="mart30">
                </div>
            </div>
            <div class="layui-hide-xs layui-col-sm2  layui-col-md2">
                &nbsp;
            </div>
        </div>
        {/foreach}

    </div>

    <div class="pagepp">
        {$list|raw}
    </div>
</div>

{include file="public/footer"}
